package com.heima.comment.service;

import com.heima.model.comment.dtos.CommentLikeDTO;
import com.heima.model.comment.dtos.CommentQueryDTO;
import com.heima.model.comment.dtos.CommentSaveDTO;
import com.heima.model.common.dtos.ResponseResult;

public interface ICommentService {

    /**
     * APP 端-文章详情页-发表文章评论
     * @param commentSaveDTO
     * @return
     */
    public ResponseResult saveComment(CommentSaveDTO commentSaveDTO);

    /**
     * APP 端-文章详情页-对文章评论点赞/取消点赞
     * @param commentLikeDTO
     * @return
     */
    public ResponseResult handleLike(CommentLikeDTO commentLikeDTO);

    /**
     * APP 端-文章详情页-查询文章评论列表
     * @param commentQueryDTO
     * @return
     */
    public ResponseResult listComment(CommentQueryDTO commentQueryDTO);

}
